import CommodityMan from '../../views/CommodityManagement/CommodityMan.vue'
import manageView from '../../views/CommodityManagement/manageView.vue'
export default [
    {
        path: '/CommodityMan',
        name: 'CommodityMan',
        component: CommodityMan,
        children: [
            {
                path: '',
                name: 'manageView',
                component: manageView
            },
            {
                path: 'CommoditySort',
                name: 'CommoditySort',
                component: () => import('../../views/CommodityManagement/CommoditySort.vue')
            },
            {
                path: 'takeDownView',
                name: 'takeDownView',
                component: () => import('../../views/CommodityManagement/takeDownView.vue')
            },
            {
                path: 'CommodityAdd',
                name: 'CommodityAdd',
                component: () => import('../../views/CommodityManagement/CommodityAdd.vue')
            },
            {
                path: 'CommidityAuto',
                name: 'CommidityAuto',
                component: () => import('../../views/CommodityManagement/CommidityAuto.vue')
            },
            {
                path: 'CommidityCompiler/:id',
                name: 'CommidityCompiler',
                component: () => import('../../views/CommodityManagement/CommidityCompiler.vue')
            },
            {
                path: 'CommClassification',
                name: 'CommClassification',
                component: () => import('../../views/CommodityManagement/CommClassification.vue')
            },
            {
                path: 'CommFenList',
                name: 'CommFenList',
                component: () => import('../../views/CommodityManagement/CommFenList.vue')
            },
            {
                path: 'AddListComView',
                name: 'AddListComView',
                component: () => import('../../views/CommodityManagement/AddListComView.vue')
            },
            {
                path: 'SpecifiCationsView',
                name: 'SpecifiCationsView',
                component: () => import('../../views/CommodityManagement/Commodity/SpecifiCationsView.vue')
            },
            {
                path: 'AttributeView',
                name: 'AttributeView',
                component: () => import('../../views/CommodityManagement/Commodity/AttributeView.vue')
            },
            {
                path: 'PackagesView',
                name: 'PackagesView',
                component: () => import('../../views/CommodityManagement/CommodityPackages/PackagesView.vue')
            },
            {
                path: 'Xiangji',
                name: 'Xiangji',
                component: () => import('../../views/CommodityManagement/Xiangji/indexView.vue')
            }
        ]
    },
    {
        path: '/HomeMess',
        name: 'HomeMess',
        component: () => import('../../views/MessageView/HomeMess.vue'),
        children: [
            {
                path: '',
                name: 'NewsHome',
                component: () => import('../../views/MessageView/NewsHome.vue')
            },
            {
                path: 'OrdersView',
                name: 'OrdersView',
                component: () => import('../../views/MessageView/OrdersView.vue')
            },
            {
                path: 'NotificationView',
                name: 'NotificationView',
                component: () => import('../../views/MessageView/NotificationView.vue')
            },
            {
                path: 'EventsView',
                name: 'EventsView',
                component: () => import('../../views/MessageView/EventsView.vue')
            }
        ]
    }
]
